package com.yunduansing.core.service;

import java.util.List;
import java.util.Map;

import com.yunduansing.core.commons.DbCommon;
import com.yunduansing.core.utils.ResultUtil;

public interface BaseService<T> {
	T getByKey(Object key);

    ResultUtil save(T entity);

    ResultUtil deleteByKeys(List<Object> keys);

    Object pagination(DbCommon.Grid grid,Object search);
}
